<?php

declare (strict_types=1);
namespace App\Models\GameDB\LuckyStrike;

use Illuminate\Database\Eloquent\Model;
/**
 * @property int $id
 * @property string $type
 * @property int $coin
 * @property int $rate
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 */
class RebatePoolCoinLog extends Model
{
    protected $connection = 'mysql_game';
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'ln_rebate_pool_coin_log';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $guarded = [];
    // protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'reward_id' => 'integer', 'type' => 'integer', 'input' => 'integer', 'amount' => 'integer', 'balance' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];

    public function getDateFormat(): string
    {
        return 'Y-m-d H:i:s.u';
    }
}
